package org.news.web.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.news.web.domain.Subscriptions;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 订阅功能视图对象 subscriptions
 *
 * @author Gu Ci
 * @date 2024-04-21
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Subscriptions.class)
public class SubscriptionsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 订阅ID
     */
    @ExcelProperty(value = "订阅ID")
    private Long subscriptionId;

    /**
     * 订阅者ID
     */
    @ExcelProperty(value = "订阅者ID")
    private Long subscriberId;

    /**
     * 订阅状态：订阅是作者还是栏目
     */
    @ExcelProperty(value = "订阅状态：订阅是作者还是栏目")
    private Long status;

    /**
     * 目标栏目ID
     */
    @ExcelProperty(value = "目标栏目ID")
    private Long targetCategoryId;

    /**
     * 记录订阅时间
     */
    @ExcelProperty(value = "记录订阅时间")
    private Date creationTime;

    CreatorsVo creatorsVo;

    CategoriesVo categoriesVo;


    private String username;


    private String author;
}
